@import "reset.css";
@import "../font/iconfont.css";


#page{
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
}

/*顶部*/
#header_top{
    height: .64rem;
    display: flex;
    background-color: #ff6040;
    padding: .45rem .12rem .32rem .33rem;
    justify-content: space-between;
    align-items: center;
    color: #ffdfd8;
    font-size: .3rem;
    p{
        span{
            &.iconfont{
                font-size: .3rem;
                color: #ffdfd8;
            }
        }
        &.iconfont{
            font-size: .3rem;
            color: #ffdfd8;
        }
        &:nth-child(2){
            margin: 0 1.23rem 0 2.61rem;
        }
        &:nth-child(3){
            width: 1.74rem;
            height: .64rem;
            border: 1px solid #ff8a6f;
            border-radius: .4rem;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: space-around;
            position: relative;
            i{
                width: 1px;
                height: 0.37rem;
                background-color: #ff896e;
                position: absolute;
            }
        }
    }
}

/*搜索*/
form{
    height: .85rem;
    background: linear-gradient(#ff694d,#ff897e);
    input{
        width: 7rem;
        height: .64rem;
        border: .02rem solid #e6e6e6;
        border-radius: .1rem;
        margin-left: .2rem;
        padding-left: .2rem;
        &::placeholder{
            font-size: .26rem;
            color: #999999;
        }
    }
}

/*导航*/
nav{
    height: .6rem;
    display: flex;
    align-items: center;

    background: linear-gradient(#ff897e,#ff8a7f);
    ul{
        width: 6.18rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: .26rem;
        background: url(../images/line.jpg) no-repeat right bottom;
        background-size: 1px .6rem;
        li{
            &:nth-child(3){
                a{
                    &.iconfont{
                        font-size: .26rem; 
                        vertical-align: middle;
                    }
                }
            }
            &.cur{
                font-size: .3rem;
                font-weight: bold;
                position: relative;
                .line{
                    width: .4rem;
                    height: .04rem;
                    background-color: #fff;
                    border-radius: .02rem;
                    position: absolute;
                    bottom: -.11rem;
                    left: .1rem;
                }
            }
            a{
                color: #fff3f2;
                font-size: .26rem;                
            }
        }
    }
    p{
        color: #fff;
        font-size: .26rem;
        span{
            margin-left: .14rem;
            &.iconfont{
                font-size: .26rem;
            }
        }        
    }
}

/*筛选*/
#screen{
    height: 0.64rem;
    background-color: #fff;
    padding:.2rem .2rem 0 .2rem;
    p{
        height: 0.64rem;
        border: 1px solid #ff6040;
        background-color: #fff4f2;
        color: #ff6040;
        font-size: .3rem;
        border-radius: .1rem;
        box-sizing: border-box;
        line-height: .62rem;
        text-align: center;
    }
}

/*内容*/ 
main{
    padding: 0 .2rem 0 .2rem;
    background-color: #fff;
    margin-top: .01rem;
    ul{
        li{
            display: flex;
            justify-content: space-between;
            margin-top: .4rem;
            .left{
                width: 2.15rem;
                img{
                    width: 100%;
                }
            }
            .right{
                width: 4.5rem;
                p{
                    &:nth-child(1){
                        font-size: .3rem;
                        height: .3rem;
                        color: #555555;
                    }
                    &:nth-child(2){
                        font-size: .26rem;
                        height: .26rem;
                        color: #bdbdbd;
                        margin-top: .13rem;
                    }
                    &:nth-child(3){
                        font-size: .14rem;
                        height: .3rem;
                        margin-top: .3rem;
                        i{
                            &:nth-of-type(1){
                                color: #ff6040;
                            }
                            &:nth-of-type(2){
                                color: #a4a4a4;
                            }
                        }
                        span{
                            font-size: .32rem;
                            color: #ff6040;
                            font-weight: bold;
                        }
                        del{
                            color: #989898;
                            margin-right: .2rem;
                        }
                    }
                    &:nth-child(4){
                        margin-top: .1rem;
                        width: 1.66rem;
                        height: .33rem;
                        background-color: #ff8066;
                        color: #fff0ed;
                        border-top: 1px solid #ffa997;
                        border-bottom: 1px solid #ffb2a2;
                        box-sizing: border-box;
                        font-size: .18rem;
                        text-align: center;
                        line-height: .31rem;
                    }
                    &:nth-child(5){
                        margin-top: .18rem;
                        height: .16rem;
                        line-height: .16rem;
                        font-size: .16rem;
                        color: #a0a0a0;
                    }
                }
            }
        }
    }
}

/*尾部*/
footer{
    display: flex;
    justify-content: center;
        
    p{
        width: 2.68rem;
        height: .1rem;
        background-color: #000;
        border-radius: .05rem;
        position: fixed;
        bottom: .16rem;
        
    }
}